LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Add(KeyValuePair<TKey,TValue>) Method
See Also 
Leadtools.Dicom.AddIn Namespace > ThreadSafeDictionary<TKey,TValue> Class > Add Method : Add(KeyValuePair<TKey,TValue>) Method



item
The object to add to the ICollection.
item
The object to add to the ICollection.
Adds an item to the ICollection.

Syntax

Visual Basic (Declaration) 
Overloads Public Overridable Sub Add( _
   ByVal item As KeyValuePair(Of TKey,TValue) _
) 
Visual Basic (Usage)Copy Code
Dim instance As ThreadSafeDictionary(Of TKey,TValue)
Dim item As KeyValuePair(Of TKey,TValue)
 
instance.Add(item)
C# 
public virtual void Add( 
   KeyValuePair<TKey,TValue> item
)
C++/CLI 
public:
virtual void Add( 
   KeyValuePair<TKey^,TValue^> item
) 

Parameters

item
The object to add to the ICollection.

Exceptions

ExceptionDescription
System.NotSupportedException The is read-only.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features